package com.aruba.mapper.impl;

import com.aruba.mapper.DeptMapper;
import org.springframework.stereotype.Repository;

@Repository
public class DeptMapperImpl implements DeptMapper {
    @Override
    public int add() {
        System.out.println("DeptMapperImpl add ..");
        return 0;
    }

    @Override
    public int add(int id, String name) {
        System.out.println("DeptMapperImpl add ..");
//        int a = 1 / 0;
        return 1;
    }
}
